package com.wx.tgp.designpattern.builderPattern.product;

/**
 * 具体建造类
 */
public class ConcreteBuilderA extends Builder {

    private Product product = new Product();

    @Override
    public void builderA() {
        product.addProduct("部件A");
    }

    @Override
    public void builderB() {
        product.addProduct("部件B");
    }

    @Override
    public Product getResult() {
        return product;
    }
}
